Made it stop using the TestFile class and instead use an object