File seeking utility method