started enabling file reading instead of streaming read
got simulation working