Preparations for allowing file upload in the dataset registration form + a bit other stuff.