Complex paths handler