title: Read random line from file also imports a \n?
body: <p>So my code is :</p>
  
  <pre class="lang-js prettyprint-override"><code>    fs.readFile(fileName, function(err, data){
          data += "";
          var lines = data.split('\n');
          randomLineN = Math.floor(Math.random() * lines.length)
          randomString = lines[randomLineN];
          uploader=""
          fs.readFile("./uploaders.txt", function(err, data){
              data += '';
              var lines = data.split('\n');
              uploader = lines[randomLineN];
              msg.reply("Enjoy this random clip submitted by : {0} [{1}]".format(uploader,randomString))
          })
      })
  </code></pre>
  
  <p>But when I execute that, it shows: 
  <a href="http://prntscr.com/srlpma" rel="nofollow noreferrer">http://prntscr.com/srlpma</a>
  And I do not want there to be a new line! I want all this in one line... How though?
  (I tried "uploader.replace(/\n/g, '')", dosen't work though.)</p>