added classpath version of FileX