Swap file ended up in template