make seek work for localfiles too