private string buildPath(Coord coord, string format) { string filename = coord.Y.ToString() + "." + format; string path = Path.Combine( this._cacheDirectory, coord.Z.ToString(), coord.Z.ToString(), filename ); return path; }