more bug fixes to File::d