File format validation

Server side validation for file format is now done using HTTP error
codes.
On 200 it will redirect to process.
Needs to handle 500 errors.