Cannot export files to an empty folder