export path to file