large refactoring of disk.read(dir,filename) to disk[dir].read(filename)