For your second question read this post from @Fox ,
maybe its what you need. Its in Russian, but you can
use translator. There is an example script too >
This will fall in the same lines at the LinesFromFile but instead of Use Only Once, you will use them Unlimited if they are changing every X minutes. You can also add a WAIT to the usage of milliseconds after adding the resource. 300000 = 5 minutes