code: def load_from_filename(self, file_name, sep='\n'):
          
          fp = open(file_name, 'rb')
          n = self.load_from_file(fp, sep)
          fp.close()
          return n
docs: Utility function to load messages from a local filename to a queue