Finally committing the file