rkey: simplify File API