added a new method to get file names