Reads in input file and outputs the file as two lists one consisting of patterns, and one consisting paths