generate short function name
use goroutine for file writing, rather than others

this makes the system able to generate runtime information