Change file existence check API in Windows App