Create a program that prints a list of files in a given directory, filtered by the extension of the files. You will be provided a directory name as the first argument to your program (e.g. '/path/to/dir/') and a file extension to filter by as the second argument.

For example, if you get 'txt' as the second argument then you will need to filter the list to only files that **end with .txt**. Note that the second argument _will not_ come prefixed with a '.'.

The list of files should be printed to the console, one file per line. You **must** use asynchronous I/O.

----------------------------------------------------------------------
## HINTS

The `fs.readdir()` method takes a pathname as its first argument and a callback as its second. The callback signature is:

```js
function callback (err, list) { /* ... */ }
```

where `list` is an array of filename strings.

Documentation on the `fs` module can be found by pointing your browser here:
  {rootdir:/node_apidoc/fs.html}

You may also find node's `path` module helpful, particularly the `extname` method.

Documentation on the `path` module can be found by pointing your browser here:
  {rootdir:/node_apidoc/path.html}

----------------------------------------------------------------------

Create a program that prints a list of files in a given directory, filtered by the extension of the files. You will be provided a directory name as the first argument to your program (e.g. '/path/to/dir/') and a file extension to filter by as the second argument.

For example, if you get 'txt' as the second argument then you will need to filter the list to only files that **end with .txt**. Note that the second argument _will not_ come prefixed with a '.'.

Keep in mind that the first arguments of your program is not the first values of the `process.argv` array, as the first two values are reserved for system info. 

The list of files should be printed to the console, one file per line. You **must** use asynchronous I/O.

----------------------------------------------------------------------
## HINTS

The `fs.readdir()` method takes a pathname as its first argument and a callback as its second. The callback signature is:

```js
function callback (err, list) { /* ... */ }
```

where `list` is an array of filename strings.

Documentation on the `fs` module can be found by pointing your browser here:
  {rootdir:/node_apidoc/fs.html}

You may also find node's `path` module helpful, particularly the `extname` method.

Documentation on the `path` module can be found by pointing your browser here:
  {rootdir:/node_apidoc/path.html}

----------------------------------------------------------------------

Clarify what "first" is when referring to args
Clarify what "first" is when referring to args

Ran into an issue with a misunderstanding of what was meant by "the first argument to your program", they thinking that the first argument is the first value of `process.argv`. This clarification is designed to alleviate that misunderstanding.