preparing folder structure