Cleanup/refactoring to ApiTempUpload.php