data = {} pdf_paths = [...] for pdf_path in pdf_paths: data[pdf_paths] = SimpleDirectoryReader(input_files=[pdf_path]).load_data()