#5 Added .txt to allowed extensions.