fixed issue with export of linked files that had parameters