forgot to check for pr token in preservedFile calls