public async static void FileChanged() { foreach (var file in await FReader.CreateReference(InputRef).EnumerateFilesAsync()) { var FileInfo = await file.ReadFileInfoAsync(); CurrentName = FileInfo.Name; using (var Stream = await file.CreateMemoryStreamAsync(4096)) { CurrentScript = Stream.ToArray(); await OpenFile(); } } }