If classpath file handle available, prefer to use it.