fixed typo
added limitation, only works on seekable files