Move WindowsFile and WindowsDirectory to separate modules