Added RMS file output