filter_events == True for read_pickle_write_to_file()
If pvals are 'NA', then do not write to file. This could introduce some
bugs, but works for now.