Replace "pathname" with "filename" in 4.14 parent directory. (Resolves US-8)