generating probabilities files