public File getFile(final RemoteLogSegmentFileType type) {
        return files.get(type);
    }
Creates a fileset instance for the physical set of files located under the given topic-partition directory.
The fileset MUST exist on the file system with the given uuid.

@param tpDirectory The topic-partition directory which this fileset's segment belongs to.
@param uuid The expected UUID of the fileset.
@return A new fileset instance.
storage/src/test/java/org/apache/kafka/server/log/remote/storage/RemoteLogSegmentFileset.java