How to run the same profile using different file names

urapidflow.php
<?php
 
// Load profile object by name
$profile = Mage::getModel('urapidflow/profile')->load('Profile', 'title')->factory();
 
// Run the profile using the first file
$profile->setFilename('file1.csv')->start()->save()->run();
 
// Run the profile using the second file
$profile->setFilename('file2.csv')->start()->save()->run();