require 'net/http'
attach file rather than path.