Saving before refactoring readThread()