committing the completed files