base: File API