added read(String filename) for easier way of re-running experiments