You can send files to the Trading Partner either manually or automatically by using Triggers. If the incoming messages are encrypted using your public key then you can select the key to decrypt the messages from decryption key drop-down list in Server > Settings > Web > AS2.