add filter for file and folder