remove file kind omitempty