filter out binary files in dispatcher thread