Created class to do actual work with the file.