Hi, I'm trying to detect an email with Tika's auto dectet api. However I keep getting back an "application/octet-stream" as the mime type: Tika tika = new Tika(); InputStream document = new InputStream(new File(...)); String mimeType = tika.detect(document); Thanks, Karthik