Creating gallery files.