code: def WriteFileEntry(self, path):
      
      string = '{0:s}\n'.format(path)
  
      encoded_string = self._EncodeString(string)
      self._file_object.write(encoded_string)
docs: Writes the file path to file.
  
      Args:
        path (str): path of the file.