code: protected static function secureTouch($fname) {
          if (file_exists($fname)) {
              return;
          }
          $temp = tempnam(sys_get_temp_dir(), 'NEST');
          rename($temp, $fname);
      }
docs: Create a temporary file in the system temp folder.
  
  @param string $fname Filename
  
  @return void