Write paths to file
Write paths to file