clean up SignatureFile logic