initialize the folders and the main file