create methods for writing serialized status object to files and reading from files in the class inself