title: storing full text from txt file into mongodb
body: <p>I have created a python script that automates a workflow converting PDF to txt files. I want to be able to store and query these files in MongoDB. Do I need to turn the .txt file into JSON/BSON? Should I be using a program like PyMongo?   </p>
  
  <p>I am just not sure what the steps of such a project would be let alone the tools that would help with this.</p>
  
  <p>I've looked at this post: <a href="https://stackoverflow.com/questions/13081660/how-can-one-add-text-files-in-mongodb">How can one add text files in Mongodb?</a>, which makes me think I need to convert the file to a JSON file, and possibly integrate GridFS?</p>