add snippet file