public function parseCsv($file)
    {
        $handle = fopen($file, 'r');

        if (!is_resource($handle)) {
            return array();
        }

        $content = array();

        while (($data = fgetcsv($handle)) !== false) {
            $content[] = $data;
        }

        fclose($handle);
        return $content;
    }