We use `getStateFilePath` in 2 locations, and a manual `filepath.Join` here. Just refactored to use the helper function