sorted out the local file for multiple vhosts