get the mage file a user of root to run