making FileEntry more stream-like; seek added. Probably buggy