correcting a typo (s/abs/asb/g) place of execution of self.read
adding write function for m3u playlist