// file implementation ------------------------------------------------------- public static Key decodeFile(File f) { String kname = KEY_PREFIX + File.separator + f.toString(); assert (kname.length() <= 512); // all NFS keys are NFS-kind keys return Key.make(kname.getBytes()); }