close opened file after being used
Merge pull request #3 from dorobica/master

close opened file after being used