private static void RenameFile(string path, string newpath, ExTreeNode node) { File.Move(path, newpath); node.Name = newpath; }