read.parameters function

Read parameters file.