open files O_TRUNC