Fix out of classpath file access issue.