public static function getContent($path)
    {
        if (is_dir($path)) {
            $files = array_diff(scandir($path), array('.', '..'));

            return $files;
        } else {
            throw new \Exception(sprintf('Incorrect path "%s" name in %s at line %s', $path, __FILE__, __LINE__));
        }
    }