Purchasing non performing mortgages

Does anyone have information on how to purchase non performing mortgages directly from the mortgage company? I am looking to purchase them at a discount and complete the foreclosure process. Any information from someone that has done this before would be helpful.