public static boolean deleteQuietly(final File file) {
        try {
            LOGGER.trace("Deleting " + file.getAbsolutePath());
            if (!file.exists()) {
                return true;
            }
            return file.delete();
        } catch (final Exception e) {
            LOGGER.error(format("Encountered error while deleting %s", file.getAbsolutePath()));
        }

        return false;
    }
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