pub async fn read_file(dir: &DirectoryProxy, path: &str) -> Vec<u8> ⓘ
Helper function to read a file and return its contents. Only use this if testing something other than the read call directly.