If you put $2.txt it thinks you have some sort of identifier and tries to call $2.txt. You don't want that. Instead you need to use something called concatenation to combine $2 and .txt
e.g.
$+(n,x,y) lets you combine n x and y.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.