Check If File Is Empty Python Array Append