clear; clc;

file_list = dir;
filenames = string({file_list(:).name});
mask = endsWith(filenames, ".xlsx");
filenames(mask)