committing completed file.