check for files only, add excludeFilter option, fixes #3