The ndx arg passed to increment_active_files() is now the unique,