ENH Simplified the files method using wildcard