Fixed an issue with the file reading mechanism.

Quotes are no longer deleted when they should not be.
Fixed warnings that were being produced as a result of XiReal being generic.