Added caching of the playlist file.
Added logging.