Filename whitelist is now given as a regular expression.