Playlist libraryPlaylist = new Playlist();
File file = new File(PLAYLIST_PATH, "library.mus");
if (file.exists())
libraryPlaylist.load(file);
library = new Library(libraryPlaylist);
for (int i = 0; i < list.size(); i++) {
Playlist playlist = list.get(i);
playlist.load(new File(PLAYLIST_PATH, i + ".mus"));
playlists.add(playlist);