Rework .match_by_filename to include checking if the path is a file
Add module_function for (and define) match_by_dir_name method
Add tests checking for the absence/presence of match_by_dir_name method in Find