public static function getActionsFromFile($file, $xpath = "/access/section[@name='component']/")
	{
		if (!is_file($file))
		{
			// If unable to find the file return false.
			return false;
		}

		// Else return the actions from the xml.
		return self::getActionsFromData(self::getXml($file, true), $xpath);
	}