Use this interface in a .Net Standard DLL and implement it in UWP and .Net Framework to make accessing the filesystem independent of the framework
To use .Net Standard 2.0 libaries in a UWP project, it has to have a minimum target of 16299 (Fall Creators Update) or higher.