Test input is now specified by a filename string and a path string

No file ending is supplied, as it will vary between .json and .txt
depending on different parameters