avast scans all documents (OLE files) on opening by default - not sure if this would include txt files - even if it was scanning a txt file on opening a few seconds sounds like quite a long time to do it.
A few simple things you could try - if they don't work report back and wait for some more expert help.
Under file system shield expert settings, scan when opening, - is 'scan all files' checked?
Avast repair - control panel, add remove programs, avast, change/uninstall, repair.
Reset to factory defaults under settings - troubleshooting (unless you've spent ages setting up complex custom settings for exclusions etc)