Added conversion from and to tex strings
Check for "Grace project file" header