              self.write_to_log(self.changes)
  
      # Various helper methods
      def write_to_log(self, changes):
          print("Writing sort log to: {}".format(self.args.log_file_path))
          with open(self.args.log_file_path, 'w') as lfile:
              lfile.write(self.serializer.marshal(changes))
  
      def reload_images(self, group_method, img_list):
          """
 
</s> remove         with open(self.args.log_file_path, 'w') as lf:
            lf.write(self.serializer.marshal(changes))
 </s> add         with open(self.args.log_file_path, 'w') as lfile:
            lfile.write(self.serializer.marshal(changes)) </s> remove             except FileNotFoundError as e:
                print(e)
 </s> add             except FileNotFoundError as err:
                print(err) </s> remove                 except FileNotFoundError as e:
                    print(e)
 </s> add                 except FileNotFoundError as err:
                    print(err)
        """ Write the changes to log file """
              self.write_to_log(self.changes)
  
      # Various helper methods
      def write_to_log(self, changes):
        """ Write the changes to log file """
          print("Writing sort log to: {}".format(self.args.log_file_path))
          with open(self.args.log_file_path, 'w') as lfile:
              lfile.write(self.serializer.marshal(changes))
  
      def reload_images(self, group_method, img_list):
          """
keep keep keep add keep keep keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py