Added another test using the file size to discover whether we are writing the first line or not