Correct match_file() to ignore hidden files
Add test for positive case of match_file()
Format