def remove(self): AbstractFile.remove(self) if os.path.exists(self.pieces_index_file): os.unlink(self.pieces_index_file)