xbt_assert(position >= 0, "Error in seek, cannot seek before file %s", get_path());
current_position_ = position;
if(current_position_>size_){
xbt_assert(position >= 0, "Error in seek, cannot seek before file %s", get_path());
current_position_ = position;
if(current_position_>size_){