remove bindEnvironment calls; called by SA wrapper now
change to accept FS.File instance and derive the file key from that