automatically play next song in directory when playing a file, major cleanup