Fix broken support '-a' in commitFiles

This PR solves issue #68