$file = new SplFileObject('sample.txt');
$file->seek(10);
echo $file->current();