Added image header to process_file as it now processes photos. Maintains backwards compatibility