Golang file cache implementation