Change UploadFileHelper to an interface and Doctrine implementation