<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Vault`](Vault) › [`getAbstractFileByPath`](Vault/getAbstractFileByPath)
## Vault.getAbstractFileByPath() method
Get a file or folder inside the vault at the given path. To check if the return type is a file, use `instanceof TFile`<!-- -->. To check if it is a folder, use `instanceof TFolder`<!-- -->.
**Signature:**
```typescript
getAbstractFileByPath(path: string): TAbstractFile | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>path</code> | <code>string</code> | vault absolute path to the folder or file, with extension, case sensitive. |
**Returns:**
[`TAbstractFile`](TAbstractFile)` | null`
the abstract file, if it's found.
0.11.11