Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
You don't download the .pkm file, you follow the instructions it gives you on the site and then you'll be able to use the GTS to pick up any Pokemon you need.