[#16] Fix: Automatically close files after reading them