add switch file