a pretty dumb tofile block