changed variable name "f" to more descriptive name "dnldname" in order to prevent future logic errors