refs #39 close PEMParser and BufferedRreader to avoid memory leaks