committing files one at a time instead of the whole folder