added getFilesNames method