add check for links to parent directory to file downloader