title: Spark: Reading files using different delimiter than new line
body: <p>I'm using Apache Spark 1.0.1. I have many files delimited with UTF8 <code>\u0001</code> and not with the usual new line <code>\n</code>. How can I read such files in Spark? Meaning, the default delimiter of <code>sc.textfile("hdfs:///myproject/*")</code> is <code>\n</code>, and I want to change it to <code>\u0001</code>.</p>