Update FileUploadController.class.php

make file directory automatically