bool FileExists(std::string filename){
-#if defined (__WIN32__)
+#if defined (WIN32)
#else
return true;
-}
\ No newline at end of file
+}
+
+#if defined (WIN32)
+
+bool FileExists(std::wstring filename) {
+
+ return PathFileExists(filename.c_str());
+
+}
+
+#endif
\ No newline at end of file