adds in functionality to filter files in list