adding code to replace & with [and] when senitizing invalid characters from file names in MsgHandler class