added case insensitive regexp to match, added 'has_files' action