updates for changed FS.File API