simulation file reading modified