Added mapping for writing file with sudo