private static List<String> loadRegexesFromFile(String filename) {
        List<String> textPatterns = new ArrayList<String>();
        try (BufferedReader br = new BufferedReader(new FileReader(filename))) {
            String line;
            while ((line = br.readLine()) != null) {
                String trimedLine = line.trim();
                if (!trimedLine.equals("")) {
                    textPatterns.add(trimedLine);
                    logger.info(trimedLine);
                }
            }
        } catch (IOException e) {
            logger.warn("Couldn't load patterns from file: " + filename + " Using a empty list.");
        }
        return textPatterns;
    }
Performs matching against given String {@code text} and returns true if:
<ul>
 <li>no patterns were provided</li>
 <li>reverse is false and all regexes match the given string 'text'</li>
 <li>reverse is true and no regex matches the given text</li>
 </ul>
@param text
@return
ache/src/main/java/achecrawler/util/RegexMatcher.java