Fixed minor issues in pfss_shock and added process_file_search