<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getFileInfos(self):
 		"""Return a list of FileInfo objects"""

		data = self.searchIndex(False)
		self.data = data
		self.printd(" ")
		fileInfos = []
		for datum in data:
			try:
				fileInfo = self.getFileInfo(datum[0], datum[1])
				fileInfos.append(fileInfo)
			except NotImplementedError:
				self.printd("Error: the info command is not supported for " + self.name + ".")
				return []
		return fileInfos