Update IsFile | IsFolder