Revert "changed pathname to lowercase"

This reverts commit b45b3f52c0604de4b865bfac3249155d5b8fa9a9.