> Everything in generateMap should be async, probably with OS.file

Os file can only read files :) You need `readURI(uri, cb)`