Upstart interview question

Code challenge involving filesystem navigating.