Use fnmatch to match patterns against files. fixed #8, working on #5