Pass on file read errors in from_file/2