docs: def createDomains(tlds, nicks=None, nicksFile=None):
      """
      Method that globally permits to generate the domains to be checked.
  
      Args:
      -----
          tlds: List of tlds.
          nicks: List of aliases.
          nicksFile: The filepath to the aliases file.
  
      Returns:
      --------
          list: list of domains to be checked.
      """
      domain_candidates = []
      if nicks != None:
          for n in nicks:
              for t in tlds:
                  tmp = {
                      "domain" : n + t["tld"],
                      "type" : t["type"],
                      "tld": t["tld"]
                  }
                  domain_candidates.append(tmp)
      elif nicksFile != None:
          with open(nicksFile, "r") as iF:
              nicks = iF.read().splitlines()
              for n in nicks:
                  for t in tlds:
                      tmp = {
                          "domain" : n + t["tld"],
                          "type" : t["type"],
                          "tld": t["tld"]
                      }
                      domain_candidates.append(tmp)
      return domain_candidates