public void YMLLogic(string filePath) { string path = filePath + @"\apktool.yml"; var input = new StringReader(path); YML yml = new YML(path); yml.modify("doNotCompress", "null"); yml.DeleteAllChildNode("doNotCompress"); yml.save(); }