homework 7 - text-files (1-9)