::file() has been renamed to ::fileInfo().