private void CreateMenu()
        {
            var menuEntries = Enumerable.Range(1, MaxNumberOfDevices).Select(i =>
                                                                             new MenuEntry($"{i}: {(imageFiles[i-1] == null ? "(no file)" : Path.GetFileName(imageFiles[i-1].FullPath))}",
                                                                                           () => AskAndSetFileForDevice(i)))
                              .ToList();

            separatorBeforeRemoveFileMenuEntry = MenuEntry.CreateSeparator(isVisible: false);
            menuEntries.Add(separatorBeforeRemoveFileMenuEntry);

            removeFileMenuEntries = Enumerable.Range(1, MaxNumberOfDevices).Select(i =>
                                                                                   new MenuEntry(i.ToString(), () => RemoveDiskImageFile(i, true))
            {
                IsVisible = false
            })
                                    .ToArray();

            removeFileMainMenuEntry = new MenuEntry("Remove image file", removeFileMenuEntries)
            {
                IsVisible = false
            };
            menuEntries.Add(removeFileMainMenuEntry);

            if (filesListInConfig.Length > 0)
            {
                menuEntries.Add(new MenuEntry("Set all from config", SetAllFilesFromConfig));
            }

            var mainEntry = new MenuEntry($"{PluginDisplayName} in slot {slotNumber}", menuEntries);

            this.setFileMenuEntries = menuEntries.ToArray();
            setMenuEntry(this, mainEntry);
        }