remove maskFile option, allow mask to be a string, an object or an array of strings and objects