working example
ENH: more specific filename check (won't find m-files)