Finished reading/writing to files and basic replay