add conversion from phase file to rmes file.