inDirectory

fun inDirectory(path: String, maximumEntries: Int = 128): SongMapStore

One file per map inside path, which is created when the first map is written.

Give it a directory of its own: it deletes the oldest entries when there are more than maximumEntries. A map of a four minute song is about ten kilobytes.