Reads parameters from params file