The current implementation displays the content of binary files if they are not supported as binary symbols and chunks of text where the bytes can be shown as text if they are valid utf8 bytes. While search functionality is available to users it will always error if we have any match on the results.
Possible solutions:
- Keep showing the data but enable binary search instead of the always failing search.
- Return early with error messages on such files avoiding starting a session with them.