Switching programs via file table working