IDCS4-Textfile Placement

Dear All,
I want to place some txt files from a folder into a InDesign template. And apply master page. Below is the discription:
Let’s say I have 5 files in folder “Place” at desktop with the name of 1.txt, 2.txt, 3.txt, 4.txt & 5.txt and in InDesign template I have master page Master 1, Master 2, Master 3, Master 4, & Master 5.
I want to place each files in their respective master pages say 1.txt should get placed in master 1, etc.

I am facing two problem

  1. Placement from a source folder.
  2. Applying respective master pages.

Regards,
Poo