Hi,
Try adding .txt and .csv in the foreach loop editor.
I am not sure whether both can be added at once, in that case you can actually take 2 foreach loop containers in your package and move the intended files only(.txt and .csv in your case).
Refer below link(and similar links) for any further clarifications:
http://www.sqlis.com/sqlis/post/Looping-over-files-with-the-Foreach-Loop.aspx
Thanks,
Chandra