folder_path = 'C:/path/to/folder' # Replace with your folder path output_file = 'C:/path/to/output.txt'