Modified how file list is recursively retrieved in file filter