filesystem: Move dir retrieval after path checking in DeleteFile()
We don't need to do the lookup if the path is considered empty currently.
Please register or sign in to comment
We don't need to do the lookup if the path is considered empty currently.