private static final String textFileName = "textSample.txt";
private static final String patternFileName = "patternSample.txt";
public static void main(String[] args) throws IOException {
Matcher matcher;
String pattern = getText(patternFileName);
String textSample = getText(textFileName);
matcher = new Naive(pattern);