Added capability to read offsets from CSV file.