replace folder structure with lists