Please explain what happens when File looks properly initiated but Scanner can't adopt this File?

Create object file, it is opened, I can apply methods, read path, properties, length etc.
File...