6. Text files

complete homework