FileUpload refactor

Class FileUpload has a little cleaner code, with a local variable that
has been removed.