Saves
the distortion values of the list in a file.