Web API: https://github.com/eregs/regulations-parser/issues/307 clean up if/else branching in FileUploadView.
Web API: https://github.com/eregs/regulations-parser/issues/307 clean up if/else branching in FileUploadView.

tadhg-ohiggins/regulations-parser,tadhg-ohiggins/regulations-parser,eregs/regulations-parser,eregs/regulations-parser