#5 Added .txt to allowed extensions.
Merge pull request #6 from mikkoz/master

#5 Added .txt to allowed extensions.