def SLOT_actionFileImport(self,filepath=None):
		"""
		If filepath==None, it will display the window to search the file
		"""
		res=self.doSaveDialog()
		if (res != QtGui.QMessageBox.Yes) and (res != QtGui.QMessageBox.No):
			return False
		if filepath==None:
			filepath = FMFileManagement.open_gui_filepath(
					self.get_default_opening_saving_site(),
					self)			
		else :
			filepath=str(filepath)
		if filepath:
			self.clean_tmp_files() # we remove the previous tmp files
			path,e = os.path.splitext(filepath)
			e = e[1:]#the [1:] is to skip the dot in the extension
			self.CMD_FileImport(filepath=filepath,format_name=e)
			
			self.actionFileSave.setEnabled(True)			
			self.setWindowTitle("AthenaWriter : NewFile")
			tmp,filename = os.path.split(filepath)
			self.changeMessageStatusBar("Has imported "+filename)
			return True
		else:
			return False
	def SLOT_actionFileOpen(self,filepath=None):
		"""
		If filepath==None, it will display the window to search the file
		If filepath==None, it will display the window to search the file
		"""
		res=self.doSaveDialog()
		if (res != QtGui.QMessageBox.Yes) and (res != QtGui.QMessageBox.No):
			return False
		if filepath==None:
			filepath = FMFileManagement.open_gui_filepath(
					self.get_default_opening_saving_site(),
					self,filter="AthW files (*.athw);; All files (*.*)")			
		else :
			filepath=str(filepath)
		if filepath:
			self.clean_tmp_files() # we remove the previous tmp files
			try:
				self.CMD_FileOpen(filepath)
			except IOError:
				# if the file do not exist, propose to crreate it
				r = QtGui.QMessageBox.question(self,"Non existing file",
					"The file "+filepath+" do not exist. Do you want to "+\
					"create it ?",
					QtGui.QMessageBox.Yes|QtGui.QMessageBox.No)
					
				if r!= QtGui.QMessageBox.Yes:
					return False
				self.filepath = filepath
				
			self.actionFileSave.setEnabled(False)

			self.setWindowTitle("AthenaWriter : "+self.filepath)
			tmp,filename = os.path.split(filepath)
			self.changeMessageStatusBar("Has opened "+filename)
			self.lastFiles.addFile(self.filepath)
			
			return True
		else:
			return False