File SystemRead fileRead a file to an ArrayBufferThe Bun.file() function accepts a path and returns a BunFile instance. BunFile extends Blob , so you can read the file lazily in a variety of formats. UseCopy MarkdownOpenGet the absolute path to the current entrypointThe Bun.main property contains the absolute path to the current entrypoint.Read a file to a BufferThe Bun.file() function accepts a path and returns a BunFile instance. BunFile extends Blob , so you can read the file lazily in a variety of formats.