Updated pfss_shock and improved process_file