Fix read hidden directory error.
add .gitignore file