llamaindexinterfacesInterface: FileReaderOn this pageInterface: FileReader A reader takes file paths and imports data into Document objects. Extends BaseReader Methods loadData() loadData(filePath): Promise <Document <Metadata>[]> Parameters • filePath: string Returns Promise <Document <Metadata>[]> Overrides BaseReader . loadData Source packages/core/src/readers/type.ts:14