presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/FileStorageService.java/FileStorageService/uuidFromFileName
class FileStorageService:    private static Optional<UUID> uuidFromFileName(String name)
    {
        if (name.endsWith(FILE_EXTENSION)) {
            name = name.substring(0, name.length() - FILE_EXTENSION.length());
            return uuidFromString(name);
        }
        return Optional.empty();
    }