list_contents now takes in filepath argument