file_matches-methods function

Generic function to test whether a file name conforms to the given FileFormat instance. Will test for match to either header file or data file