If outFile is present return FileInputStream instead of
ByteArrayInputStream.