public void readText(){
		regularfile = new File("src/data/regular.txt");
		studentfile = new File("src/data/student.txt");
		elderlyfile = new File("src/data/elderly.txt");
		memberfile = new File("src/data/member.txt");
		try{
			String data="";
			Scanner input1 = new Scanner(regularfile);
			Scanner input2 = new Scanner(studentfile);
			Scanner input3 = new Scanner(elderlyfile);
			Scanner input4 = new Scanner(memberfile);
			while(input1.hasNext()){
				MemberRegular member= new MemberRegular(input1.next(),input1.next(),input1.next(),input1.next(),input1.nextInt(),input1.next(),input1.next(),input1.nextDouble(),input1.nextInt(),input1.next(),
						input1.next(),input1.next(),input1.next(),input1.next(),input1.next(),input1.nextDouble());
				memberList.add(member);
				
			}
			while(input2.hasNext()){
				MemberStudent member= new MemberStudent(input2.next(),input2.next(),input2.next(),input2.next(),input2.nextInt(),input2.next(),input2.next(),input2.nextDouble(),input2.nextInt(),input2.next(),
						input2.next(),input2.next(),input2.next(),input2.next(),input2.next(),input2.nextDouble(),input2.next(),input2.next(),input2.next());
				memberList.add(member);
				
			}
			while(input3.hasNext()){
				MemberElderly member= new MemberElderly(input3.next(),input3.next(),input3.next(),input3.next(),input3.nextInt(),input3.next(),input3.next(),input3.nextDouble(),input3.nextInt(),input3.next(),
						input3.next(),input3.next(),input3.next(),input3.next(),input3.next(),input3.nextDouble());
				memberList.add(member);
				
			}
			while(input4.hasNext()){
				Member member= new Member(input4.next(),input4.next(),input4.next(),input4.next(),input4.nextInt(),input4.next(),input4.next(),input4.nextDouble(),input4.nextInt(),input4.next(),
						input4.next(),input4.next(),input4.next(),input4.next(),input4.next(),input4.nextDouble());
				ID++;
			}
		}
		catch(Exception e){

		}
	}