private bool FileExists(string filename) { #if DEBUG return(File.Exists(Path.Combine(DebugResourcesDir, filename))); #else return(EmbeddedFile.Exists(filename)); #endif }