It doesn't cost $42M to make a CSV file available.
Like most government spending, I'm sure it's excessive. However, I'm not clear what your counter-point was. Yes, producing a CSV costs less than $42M. No, producing a CSV file is not what this service entails.
If I could edit my comment, I might say something more accurate, like "trying to evaluate this number without more context is not useful."