creation of files and structure