Flash evaporation of chalcogenide thin films