committing all contents in directory