always get the right node for the given file path

we get the node for the given $filePath here because in case of afterCreateFile $node is the parent folder

@dragotin @danimo @guruz @karlitschek THX