Added static modifiers to constants, replaced unnecessary PathFilter with helper method.