add write into file test