Check for not staged files

This pull request tries to address the issue #24.