now writes current directory and remote to two files