Change content of file and rename it for class assignment