test write file content
