How check for existence of snippet file?