I'd say you should attach context.
If there's problems accessing a file, then having an error message without the filename in it is near useless.