updated mechanism for send_file & symlink support