Adds initial code where txt read in and marker positions found