Cleanup and replace GMX format.