updated isFile doc