@SuppressWarnings("unchecked")
	public boolean openAndreadFile() {
		try {
			String line;
			reader = new BufferedReader(new FileReader(file));
			columnnames = reader.readLine().split(",(?=([^\"]*\"[^\"]*\")*[^\"]*$)");
			ArrayList<ArrayList<Object>> help = new ArrayList<ArrayList<Object>>();
			
			while ((line = reader.readLine()) != null) {
				ArrayList<Object> test = new ArrayList<Object>();
				String[] row;
				row = line.split(",(?=([^\"]*\"[^\"]*\")*[^\"]*$)");
				for (int i = 0; i < row.length; i++) {
					try {
						test.add(Float.valueOf(row[i]));
					} catch (Exception e) {
						test.add(String.valueOf(row[i]));
					}
				}
				help.add((ArrayList<Object>) test.clone());
			}
			rowdata = new Object[help.size()][columnnames.length];

			for (int a = 0; a < help.size(); a++) {
				for (int b = 0; b < columnnames.length; b++) {
					rowdata[a][b] = help.get(a).get(b);
				}
			}
			reader.close();
			return true;
		} catch (FileNotFoundException e) {
			writeLog(e);
			return false;
		} catch (IOException e) {
			writeLog(e);
			return false;
		}
	}