Support '-a' in commitFiles

This PR solves issue #68