Insertion of a ventriculoperitoneal shunt ( VPS ) for the treatment of hydrocephalus is one of the most common neurosurgical procedures in the UK , but failures caused by infection occur in approximately 8 % of primary cases .