repeating Excersise 5 properly
more file operations included