There's a couple of places where it's clear that path and filepath have been incorrectly used.
path
filepath