feature(main) readFiles: add formatMsg