<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Vault`](Vault) › [`getFileByPath`](Vault/getFileByPath) ## Vault.getFileByPath() method Get a file inside the vault at the given path. Returns `null` if the file does not exist. **Signature:** ```typescript getFileByPath(path: string): TFile | null; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>path</code> | <code>string</code> | | **Returns:** [`TFile`](TFile)` | null`