This should be -d, not -f. Shut it. I'm still learning bash.