replace '/' in dfile with '.'