master
scanFile
public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null, $lock = true) {