Retrieves information from the Twitch API and saves it to a file in a format set by the user.