Reading file metadata using zero-copy API