reverting file snippet