separate files and images into their own folders