might be nice to actually generate a file