g_file_exist(const char* filename)
{
#if defined(_WIN32)
  return 0; // use FileAge(filename) <> -1
#else
  return access(filename, F_OK) == 0;
#endif
}
g_file_exist(const char* filename)
{
#if defined(_WIN32)
  return 0;  
#else
  return access(filename, F_OK) == 0;
#endif
}