Adding newlines as escapable character
Externalising escaping logic into another file