Fixing ext file creation