Refactor FileController and added FileUploadHelper