implemented seek in filesystem