Switch case of netkan file