complete function fileType in talker