I am not sure what you mean by transparent.
To prevent your data from being "sniffed" by other applications including simply opening the file isn't so easy. You can however protect your data from being able to be usable. How unusable is up to you, basically unusable, like opening a PDF in notepad, is fairly simple, save the binary representation, you could make it more unusable by zipping it, and/or encoding it perhaps with base64.
To make it truly totally unusable you need to encrypt it, going down this road there are a lot of mistakes to be aware of, like storing your decryption key in your application. See the
story of DVD decryption.