made arrangements for the cases when custom file bytes are to be processed to text output; handled a ollama running / crashing error
