Just detect the file type of the document and return it in detectedTypeId, without generating any output.