Refactor code for reading escaped characters