added feature to read .class and .java files
fixes