Adding exportFile function support.