title: Decrypting in pgpy fails with "ValueError: Expected: ASCII-armored PGP data"
body: <p>I have an OpenPGP encrypted file and its private key in a text file and know its passphrase.</p>
  
  <p>I tried this below code:</p>
  
  <pre><code>import pgpy
  
  emsg = pgpy.PGPMessage.from_file('PGPEcrypted.txt')
  key,_  = pgpy.PGPKey.from_file('PrivateKey.txt')
  with key.unlock('passcode!'):
      print (key.decrypt(emsg).message)
  </code></pre>
  
  <p>But while trying to execute I am getting following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "D:\Project\PGP\pgp_test.py", line 4, in &lt;module&gt;
      key,_  = pgpy.PGPKey.from_file('SyngentaPrivateKey.txt')
    File "D:\Anaconda\lib\site-packages\pgpy\types.py", line 191, in from_file
      po = obj.parse(data)
    File "D:\Anaconda\lib\site-packages\pgpy\pgp.py", line 2252, in parse
      unarmored = self.ascii_unarmor(data)
    File "D:\Anaconda\lib\site-packages\pgpy\types.py", line 131, in ascii_unarmor
      raise ValueError("Expected: ASCII-armored PGP data")
  ValueError: Expected: ASCII-armored PGP data
  </code></pre>
  
  <p>How can I decrypt the file in python?</p>