added optional pathname