use better matching than fnmatch, and add readme