Writing always at the begining of the files speed and rotation