protected file altering methods form continuing with bad data