use File.read to open the file instead of JSON.load