[#16] Fix: Automatically close files after reading them
Merge pull request #17 from bf4/fix_too_many_open_files

[#16] Fix: Automatically close files after reading them (thank you, bf4)