file: simplify exposed API
file: make Delete also Close
file: less alloc