utils:Write to file added