public void WriteToDir(CmdParser parser)
        {
            var fullPath    = parser.GetAttribute("name") ?? parser.GetAttribute(0);
            var outFilePath = parser.GetAttribute("out") ?? parser.GetAttribute(1);

            if (fullPath.Substring(0, 1).Equals(":"))
            {
                var id = fullPath.TrimStart(':').ToInt();
                fileManager.WriteToDir(id, outFilePath);
            }
            else
            {
                fileManager.WriteToDir(fullPath, outFilePath);
            }
        }