Simplify check for program files