Added dynamic creation of folders and files