Index: /AE/Installer/trunk/source/methods.h
===================================================================
--- /AE/Installer/trunk/source/methods.h	(revision 291)
+++ /AE/Installer/trunk/source/methods.h	(revision 292)
@@ -1,5 +1,5 @@
 #include <string>
 #include <vector>
-
+#include <fstream>
 
 using namespace std;
@@ -12,5 +12,5 @@
 int mainMenu();
 vector<ModPackage> getPackages();
-ModPackage fileToModPackage(FILE&);
+ModPackage fileToModPackage(fstream);
 
 void installPackages();
Index: /AE/Installer/trunk/source/subs.cpp
===================================================================
--- /AE/Installer/trunk/source/subs.cpp	(revision 291)
+++ /AE/Installer/trunk/source/subs.cpp	(revision 292)
@@ -9,4 +9,5 @@
 #include "methods.h"
 #include <vector>
+#include <fstream>
 
 #include <errno.h>
@@ -38,4 +39,6 @@
 	packages.reserve(256); //thats 63 or 64 pointers to packages...i think. :P Reserving this improves performance when we add new pointers
 	
+	fstream file;
+	
 	#ifdef WIN32
 		string path = "K:\\Oni\\edition\\install\\packages"; //only for my build. :P
@@ -46,4 +49,7 @@
 	string filename = "\0";
 	string MODINFO_CFG = "\\Mod_Info.cfg";
+
+	string line;
+
 	DIR *pdir;
 	struct dirent *pent;
@@ -54,23 +60,31 @@
 		exit(1);
 	}
-	errno=0;
-	while ((pent=readdir(pdir))){
-		
+	errno=0; 
+
+	while (( pent = readdir(pdir) )){
 		
 		filename = path + '\\' + pent->d_name + MODINFO_CFG;
-		
+		file.open(filename.c_str());
+
 		//cout << filename << "\n";
 
-		if (FILE * file = fopen( filename.c_str(), "r"))
+		if(!file.fail() )
 		{
+			//file.open(filename.c_str(), fstream::out);
+				
 			//do stuff like adding to vector :P
+			cout << pent->d_name << "\n";
+			while (! file.eof() )
+			{
+				getline (file,line);
+				 cout << line << endl;
+			}
+			//would prefer to push a pointer to a package, but this will do for now
+			//packages.push_back( fileToModPackage(file) );
 			
-			cout << pent->d_name << "\n";
-			
-			//would prefer to push a pointer to a package, but this will do for now
-			//packages.push_back(modelfileToModPackage(file *))
-			fclose(file);
-		}
-
+		}	
+		file.close();
+		file.clear();
+		
 	}
 
@@ -84,4 +98,10 @@
 	
 	return packages;
+}
+
+ModPackage fileToModPackage(fstream file) {
+	ModPackage package;
+		cout << file;
+	return package;
 }
 
