Fixing seeks to be to beginning of file