Home GnuPG

Move file opener to public api and add unit tests for it