There are probably errors in the list of Errors:
First, create two extra entities in your domain model:
Then on your page add a data view for Image and place the image uploader in it.
Then on your page add a data view for File and place the file uploader in it.