'file' was not declared in this scope

I'm gussing the example has something like this:

tinyFAT file;

which is kind of important. Can you post the example and a link to the library?