private static IEnumerable<string> ReceiveSomeData() {
if (!File.Exists(CommunicationFilename)) return new string[] { };
try {
var text = File.ReadAllText(CommunicationFilename);
File.Delete(CommunicationFilename);
return UnpackArgs(text);
} catch (Exception e) {
Logging.Warning("Cannot receive data: " + e);
return new string[] { };
}
}