code: public function createUrlsTempFile()
      {
          $hash = md5(microtime(true));
          $links = array_merge($this->getUrls(), $this->getUrlsByDocumentParameter());
          $urlsFile = "/tmp/urls_{$hash}.txt";
          $urls = [];
  
          foreach ($links as $url) {
              $separator = ($url[0] !== '/') ? '/' : '';
              $urls[] = $this->baseUrl . $separator . $url;
          }
          file_put_contents($urlsFile, implode(PHP_EOL, $urls));
  
          return $urlsFile;
      }
docs: Creates temporary file to store urls.
  
  @return string