# File lib/cgikit.rb, line 4450 def new_with_file( filename ) f = File.open filename bytes = new f.read bytes.path = f.path f.close bytes end