Merge pull request #1006 from mulesoft/MULE-7862

MULE-7862 - adding control file to store read and write file data - also...
(cherry picked from commit a86ab33ae9f66c786db5a4242c32e01fad207737)