def __init__(self): self.file.seek(0) for Aircraft_line in self.file: self.aircrafts.append(Aircraft.parse(Aircraft_line))