title: How to read plain text file in mule 3.8
body: <p>In mule 3.8, when I use file connector to process text file , I am getting exception as below, please help.</p>
  
  <p>Here is flow xml</p>
  
  <pre><code>file:connector name="File" autoDelete="true"  streaming="true" validateConnections="true" doc:name="File"/&gt;
  
  flow name="DW-FixedWidth-Processing"&gt;
  
  file:inbound-endpoint path="D:/mule/input" connector-ref="File" responseTimeout="10000" doc:name="File"/&gt;
  
  file:file-to-string-transformer doc:name="File to String"/&gt;
  
  dw:transform-message doc:name="Transform Message"&gt;
  
  dw:input-payload /&gt;
  
  dw:set-payload&gt;&lt;![CDATA[%dw 1.0
  %output application/csv header=false
  ---
      ((payload splitBy /\n/)[0..8]) map {
      location:trim $[0..14],
      sku:trim $[15..39],
      dtc:trim $[40..42],
      tt:trim $[43..44],
      txnqty:trim $[45..54],
      um:trim $[55..56],
      rcd:trim $[57..59],
      te:trim $[60..89],
      ul:trim $[90..104],
      date:trim $[105..114],
      time:trim $[115..120]
  } ]]&gt;
  dw:set-payload&gt;
  
  dw:transform-message&gt;
  
  logger message="#[message.payloadAs(java.lang.String)]" level="INFO" doc:name="Logger"/&gt;
  
  file:outbound-endpoint path="D:/mule/output" responseTimeout="10000" doc:name="File"/&gt;
  </code></pre>
  
  <p>Exception</p>
  
  <p>Root Exception stack trace: </p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: No schema set at
    com.mulesoft.weave.module.flatfile.FlatFileSettings.loadSchema(FlatFileSettings.scala:45)
    at
    com.mulesoft.weave.module.flatfile.FlatFileReader.ffParser(FlatFileReader.scala:42)</p>
  </blockquote>