Swap between Components in a file