add functions : importFile and exportFile