tokenizing url and validating filename submission in scraper