WIP: generate files