Miből gondoltad, hogy a $cont egy tömb? Nem tömb az, hanem string.
http://php.net/manual/en/function.file-get-contents.php