get_processed_files function

Get all processed files from a database