tweak file regexes