Could you explain this if to me? It seems a bit strange, why use file_entry.size if bytes_begin == 0?