code: def isWOSFile(infile, checkedLines = 3):
      
      try:
          with open(infile, 'r', encoding='utf-8-sig') as openfile:
              f = enumerate(openfile, start = 0)
              for i in range(checkedLines):
                  if "VR 1.0" in f.__next__()[1]:
                      return True
      except (StopIteration, UnicodeDecodeError):
          return False
      else:
          return False
docs: Determines if _infile_ is the path to a WOS file. A file is considerd to be a WOS file if it has the correct encoding (`utf-8` with a BOM) and within the first _checkedLines_ a line starts with `"VR 1.0"`.
  
      # Parameters
  
      _infile_ : `str`
  
      > The path to the targets file
  
      _checkedLines_ : `optional [int]`
  
      > default 2, the number of lines to check for the header
  
      # Returns
  
      `bool`
  
      > `True` if the file is a WOS file