Implemented filtering files by regular expression.