default mode=seek_set for file::seek