Fixing typo
Writing ext file