ensure that .jars and .exes are ignored