added support to ignore files by list of regexes.