last modifs (several for file writing)