solved bug in playlistDAO and .txt format is changed to .json for text
files.