Move upload file option to CategoriesController.