what's the point of using filename:join/1 here?