putting in the code to create and overwrite a vassal file