Added reference to source of removeillegal chars function