 
     return next new Error('no binary') unless file.binary?
 
+    # Create photo document
     photo =
         date         : file.lastModification
         title        : ""

        skip = 0

    dates = {}
    options =
        limit: fileByPage + 1
        skip: skip


            photos.splice fileByPage, 1
            for photo in photos
                # Sort photos by month
                date = new Date(photo.lastModification)
                mounth = date.getMonth() + 1
                mounth = if mounth > 9 then "#{mounth}" else "0#{mounth}"
