originally holding the rank of optio , a centurions second in command , they were not only promoted to the centurion ranks , but also accelerated to the rank of pilus prior , or superior file , the second highest ranking centurion in a legion .