read distributions from a file