Read parameters from file; adjust individual stages of algorithm