Fixes #5

This pull request resolves #5 by renaming the parameter to `-d --DIRECTORY` instead of `-f`.

It also checks for whether the `filenames` variable is a string or a list and responds accordingly.