Improve text plugin to support local file protocol
Modify console message