Quote:
$fread happens twice when there is an empty line, returns two empty lines

It seems to work fine here, as I said in your thread.