filter gold once. test for empty files after filtering.