Reorganized settings
Added rule for .txt and .tex