Anonymity of the file can't completely be guaranteed by encryption in the same manner as bitcoinwallet.
It is because that there's possibility that the person who offers the file is identified by blockchain address of bitcoin even if this network takes the mixing service.
You need to adopt the encryption scheme, e.g. ring signature, zero knowledge proof and any other scheme on protocol.