Copied and modified file reading template of Q1
Final code for auto indentation wid out special for() or  cases