Getting the file directory.

Need to get the file directory so it doesn't just use the current
working directory. Default to the home directory.
Get the directory from an environment variable.

Get it from the ENV instead of always using the home directory.
Still use the home as the default, though.
Documenting the file directory.

This one falls back on an environment variable that is reasonable to
expect (HOME).