some error handling in include/process_file