Manipulate a shadow file