Converting controller.Application to Java.
Converted FileUploadController to Java as FileUpload.