Close the profFile

Opened file should be closed.