How the files filtering works?