Checking if data file exists?
Hi,

I creating my own datafilesystem and I need to check if file exists.

I tryed:
DataFileSystem data;

 if (Interface.Oxide.DataFileSystem.ExistsDatafile(Interface.Oxide.DataDirectory + "\\" + filename) == false)
{
    //my code
}​
but it still processing to code when file exists.

Thanks for advice!

What is stored in "filename" variable?