Reads parameters related with diffusion model
If present, filename where params are written to, if not present, writes to screen