public void Rename(string newName) { File.Move(Path.Combine(Group.FullPath, Name), Path.Combine(Group.FullPath, newName)); Name = newName; fileIndex.Rename(); }