Add gitignore. Remove file extension.