Freopen in different langs