Very happy you took the extra step here to rename the variable to _dir instead of just leaving it at _filename.