Writes cycle path to outfile. Doesn't use operater