You don't need to sell an encrypted file, just the decryption keys. Still gets to the heart of the moderation problem though: how do you moderate a small text file containing a string of characters?
I foresee this being used for stolen license keys (and maybe porn, though probably not much - feds would get a warrant and know who it's getting cashed out to.)
If OP adds Bitcoin as a way of cashing out though, they'll probably go to prison as an accessory for the many horrible use cases that would inevitably result. Don't do it OP!
Even if you couldn't, you could upload the encrypted illegal file somewhere else and just sell the key. But if someone is buying illegal files, why wouldn't they just pirate the file in the first place?