generates files and folders