Question: how to use pkm files?
Answer: If you own an Action Replay, you can turn a pkm file into an Action Replay code. Open Pokégen, drag and drop the pkm file in it. Click on your Pokémon (or on a selection of Pokémon), then on Tools > Code Generator . Follow the instructions to generate an AR code that will create an exact copy of your new Pokémon.