Revise class variable names and Revise openFile method to take a String