Use star wildcard for static filepath
Error reporting when insert into pathtree fails