Use -d for directory tests not -f dumbass