change pattern matching in readSimulationNumber