Adjusted the code to be able to control the files used and the tolerance for each file (important, hard tests currently require lower tolerance to pass).