I have a method in an encryption class that is responsible for reading my RSA key files and there respective components. To do this is use an InputStream object
InputStream