explained the structure of the gallery files