added file specific filtering