Reading params from file