init version,check file line and func line