Corrected file handling with umlauts