Serial output to a file

One thing that might be quite useful would be to direct serial output from Arduino to a specified file. So instead of opening a serial window, you could direct the same output to a file.

This would be really useful for an application I'm working on, in which I need to take Arduino for an airplane ride, and log a bunch of sensor readings. Then, on the ground, I could work with the processing of the sensor data.

Sound useful?