File related utils for Go