Salve,
come posso implementare a questo script un controllo su il file text.txt se è vuoto?

codice:
$CurrentSong='test.txt';
...
SE è VUOTO FERMARSI
ALTRIMENTI PROSEGUIRE CON QUESTO SCRIPT
...
if (file_exists($CurrentSong)){
    $txt=fopen($CurrentSong, 'r');
    $tema=fread($txt, filesize($CurrentSong));
    fclose($txt);
...
grazie per l'aiuto
G.