title: FileUtils.move not working in Mirth
body: <p>Greetings for the day !!.</p>
  
  <p>I am trying to move a file from one location to another location if it fails on header validation .</p>
  
  <p>Because the file is containing more than 10,000 records and i have enabled batch processing.</p>
  
  <p>If header of file is wrong, I don't want it to iterate through entire 10,000 records and want to move file on header level validation .</p>
  
  <p>I am trying to use <code>FileUtils.moveFile(src,dest)</code>, but its throwing below error.</p>
  
  <p>Can you please help me in this , how can i make it successful here .</p>
  
  <p>I am not able to attach my channel .</p>
  
  <pre><code>[2015-07-30 20:36:41,398] ERROR (postprocessor:?): :: Message Errored BecauseJavaException: java.io.IOException: Failed to delete original file 'C:\Users\Admin\Documents\MirthExamples\csvexample s\File Reader\processed_30-07-15_19-22-42.483.csv' after copy to 'C:\Users\Admin\Documents\MirthExamples\csvexample s\error\20150730083641.csv'
  </code></pre>