last file of directory working with vector