Extend file node API with getFileInfo