APIClassesTextFileReaderEn esta páginaClass: TextFileReaderRead a .txt fileImplementsBaseReaderConstructorsconstructor• new TextFileReader()MethodsloadData▸ loadData(file, fs?): Promise<Document<Metadata>[]>ParametersNameTypefilestringfsCompleteFileSystemReturnsPromise<Document<Metadata>[]>Implementation ofBaseReader.loadDataDefined inpackages/core/src/readers/SimpleDirectoryReader.ts:29