Data: { file: string } | { contents: string } | Error | null