Added support for .txt files - refs BT#7010