Handle indentation in text files