Change body from File.read to File.open