debugging segment file storage