docs: def _get_firmware_file_in_new_path(searching_path):
      """Gets the raw firmware file in a new path
  
      Gets the raw firmware file from the extracted directory structure
      and creates a hard link to that in a file path and cleans up the
      lookup extract path.
      :param searching_path: the directory structure to search for
      :returns: the raw firmware file with the complete new path
      """
      firmware_file_path = _get_firmware_file(searching_path)
      if not firmware_file_path:
          return None
  
      # Note(deray): the path of the new firmware file will be of the form:
      #
      #    [TEMP_DIR]/xxx-xxx_actual_firmware_filename
      #
      # e.g. /tmp/77e8f689-f32c-4727-9fc3-a7dacefe67e4_ilo4_210.bin
      file_name, file_ext_with_dot = common.get_filename_and_extension_of(
          firmware_file_path)
      new_firmware_file_path = os.path.join(
          tempfile.gettempdir(), str(uuid.uuid4()) + '_' +
          file_name + file_ext_with_dot)
  
      # create a hard link to the raw firmware file
      os.link(firmware_file_path, new_firmware_file_path)
      return new_firmware_file_path