handle uploaded file in admin#upload when HTTP method is POST