@Override
	public Collection<Environment.Tripple> parse(File file) {

		List<Environment.Tripple> tripples = 
			new ArrayList<Environment.Tripple>();

		// TODO: change exception logic
		try {
			BufferedReader reader = new BufferedReader(new FileReader(file));
			while (reader.ready()) {
				String line = reader.readLine();

				if (line.matches("^#.*$") || line.matches("^\\s*$")) {
					continue;
				}

				Matcher matcher = TRIPPLE.matcher(line);
				if (matcher.matches()) {
					String scope = matcher.group(2).isEmpty() ? "*" :
						matcher.group(2);
					tripples.add(new Environment.Tripple(
						scope, matcher.group(1), matcher.group(3)));
				} else {
					throw new IOException("Bad config file format!");
				}
			}
		} catch (IOException ignored) {
		}

		return tripples;
	}