getnextFilename

abstracted getnextFilename