Debugging filepath dirname but something is going awry