Posting a file to a controller action using wget

Hi. i have this runnig:

class MainController < ActionController::Base
def load_data
end
end

From my linux box, i do:
wget http://localhost/main/load_data --post-file file_name.txt

Wich works great! the proble is, in the params, i receive:
{ “file_name.txt contents” => “”, “action” => “load_data”, etc… }

Do anybody knows a better way to do the same thing but in a way that
could produce the params:
{ “file_data” => “file_name.txt contents”, “action” => “load_data”,
etc… }

or something like that?

Thanks!