Added debug code to see what's going on with the file upload