fixed time file writing