public void Process(string path, Action <Photo> filterHandler) { var photo = Photo.load(path); filterHandler(photo); photo.Save(); }