Use errno to indicate error in parsing file.