committing the file