divide images files into folders