add a log statement when a file is closed
Merge pull request #53 from Incubaid/log-close

add a log statement when a file is closed