I clamp the barrel in a machinist's vise, using a short level on the flats to make sure it is perfectly square with the world. Then I place my single cut mill bastard draw filing file on the round barrel, and the level on top of that. When the file is dead level, I slowly pull the file lengthwise and scratch a line with the file. It is dead centre on the round section of the barrel.