Tidying up commenting and removal of erroneous alert message on file upload