Bulid error - 'File' was not declared in this scope

This is almost always wrong. Let me double check how this can work.