updated constructor for keymatch to use the intended filenames and auto populate the two tables