Fixed examples so show that a java.io.File is expected