Enhanced to generate PresetReader from preset.txt automatically.