Fix code file upload