Check if database exists, read image files in line by line
Automatic Partition Offsets
Added Comments