reading from file tested with 2 markers