Added passing of filename to upload_options

It could be useful to have the uploaded file's filename in the upload_options method, for a subclass that overrides that function to use to form upload_options form.