Implementation of textfilecontent singleline behavior.