Change file open in read method to use block to ensure file closure.

When using the read method, files that were loaded were being held on to by Ruby, as they are never closed. I ran into this issue when trying to delete files that had been previously loaded into a Configliere object.