fix regexps, allow usage '.' in file name