Added the file filter, improved testing, updated readme.