Store file from file_field

I've made a file upload. When there is a file already on the server I
pass the values and bring them back to question if they want to
overwrite or cancel. I pass along the values with session values. But I
have problems with the file_field. How can I restore that? Can I add the
params[:document][:file_name] as a string and then add it to file_field