load snippet files automatically