right behaviour with primitive file