Edited logger for parser and readwrite class