Update Django file handling and provisioning
Check uploaded file extension.
Add test for file extension check