add file extension to the playlist
don't add file index to playlist if there's only one file