Set hard limit for Large Text file read
Some of the text files like scripts or json are valid for text preview but, if they are large it causes to consume full single core and huge chunk of ram stuck in loading the file which wont happen due to large data, so better to set hardlimit for file size, if ther are larges just preview its file type and size info like it dose for binary files