Swtich to using fnmatch for better filename mtaching.