update examples to use file extension