added file upload debug output