Apply filters and iterate through files