Removes console.log from file upload handler