llamaindexinterfacesInterface: FileReaderSu questa paginaInterface: FileReader A reader takes file paths and imports data into Document objects. Extends BaseReader Methods loadData() loadData(filePath, fs?): Promise <Document <Metadata>[]> Parameters • filePath: string • fs?: CompleteFileSystem Returns Promise <Document <Metadata>[]> Overrides BaseReader . loadData Source packages/core/src/readers/type.ts:15