fixed some errors in edfile.java