only loads a plugin if it is a jar file