open export file with w attribute