Used filename:join to prevent duplicate slashes.