define the method new_file with arguments: self, field_name, file_name, content_type, content_length, charset set to None,
def new_file ( self , field_name , file_name , content_type , content_length , charset = None , content_type_extra = None ) :