remove redundant method from test_files