build a file structure for ejs