title: Deserialization with thrift
body: <p>I'm working about KBA TREC collection. A generic TREC collection contains a lot of documents that can be news, forums, etc. </p>
  
  <p>When I download a generic document, it has the format <code>filename.sc.xz.gpg</code>:</p>
  
  <ul>
  <li><code>gpg</code>: the file was encrypted and so I decrypted it with the apposite key;</li>
  <li><code>xz</code>: the file was compressed and so I decompressed it;</li>
  <li><code>sc</code>: the file was serialized and I MUST deserialize it.</li>
  </ul>
  
  <p>The problem is with the process of deserialization. In the documentation I read that the data was serialized with thrift. </p>
  
  <p>My question is: how can I use thrift to deserialize my file <code>filename.sc</code>? </p>