I asked about the demo to localize the problem - is it inside your code, our library or in files sent to you.
Also a good idea is to try your code with our sample keys and files, produced by PGPFilesDemo.