public static function createFromFile($path, array $options = []) {
		// Config's type resolve
		if (isset($options[self::OPTION_TYPE])) {
			$type = (string) $options[self::OPTION_TYPE];
			unset($options[self::OPTION_TYPE]);
		} else {
			$type = pathinfo($path, PATHINFO_EXTENSION);
		}
		
		return self::createFromSource(self::readFile($path), $type, $options);
	}