The initial version of the fifteenth exercise.
Added file close commands.