modified mode text file