It has been covered by ReplaceInvalidChars function in the main(). Don't need to do here.