Multifile cursor handling