def pushButtonOuvrirClicked(self):
		print("Bouton <OUVRIR> appuyé")
        if self.lineEditChemin.text()=="":
			self.filename=QFileDialog.getOpenFileName(self, 'Ouvrir fichier', os.getenv('HOME')) 
			
		else:
			info=QFileInfo(self.lineEditChemin.text()) 
			print (info.absoluteFilePath()) # debug	
			self.filename=QFileDialog.getOpenFileName(self, 'Ouvrir fichier', info.absoluteFilePath())
	
		
		print(self.filename)
		self.lineEditChemin.setText(self.filename[0]) 
		myFile=open(self.filename[1],'r')
		myFileContent=open(myFile) 
		myFile.close()
		
		self.textEdit.setText(myFileContent) 

and thi is the error
(‘C:/Users/hp/Desktop/CNC Data/drawing GCODE/Lamborghini Avantador.gcode’, ‘All Files ()’)
Traceback (most recent call last):
File “c:/Users/hp/Desktop/machine cnc/cnc pyqt5/FinalCodeGUIMain.py”, line 1959, in pushButtonOuvrirClicked
myFile=open(self.filename[1],‘r’) # ouvre le fichier en lecture
OSError: [Errno 22] Invalid argument: 'All Files ()’