title: Reading a text file up to a certain character
body: <p>Here's my dilemma. I have a file, and wish to read in all characters up until the program hits a '#', and ignore everything on that line after the '#'. For example</p>
  
  <p>0 4001232 0        #comment, discard</p>
  
  <p>This is frustrating, as it feels like there is  a very simple solution. Thanks!</p>