template = File.readlines(file).to_s
erb = ERB.new(template, 0, "%<>")
puts erb.result