printf $file "%s:%s\n", $username, $password;