       # into the index. If it doesn't exist, we just assign the index
       # manually.
       #
-      # This is done to ensure page order for the series, rather than pushing 
+      # This is done to ensure page order for the series, rather than pushing
       # then all and then sorting them after.
       if series[index]? then series.splice index, 0, file
       else series[index] = file

#
# # Series
#
# 




    # of pages for that series.
    for filename, file of files
      if not file.series? then continue

      if not file['series-index']?
        console.warn "File #{filename} of series #{file.series}
          is missing the `series-index` metadata. Defaulting to 1"
