minor changes in TextFileActivity