Pass the unit test for setFile(String);