namespace RackPeek.Domain.Persistence.Yaml; public interface ITextFileStore { Task ExistsAsync(string path); Task ReadAllTextAsync(string path); Task WriteAllTextAsync(string path, string contents); } public sealed class PhysicalTextFileStore : ITextFileStore { public Task ExistsAsync(string path) => Task.FromResult(File.Exists(path)); public Task ReadAllTextAsync(string path) => File.ReadAllTextAsync(path); public Task WriteAllTextAsync(string path, string contents) => File.WriteAllTextAsync(path, contents); }