Rework 'Upload File' form for a specific data_type.

Change-Id: If38acc7cd4cb6115637aea867398910a052d8c60