you should read how much has been returned. Write isn't quarenteed to write everything, or anything.