when file urls have hash fragments, check it