Add option to pass in pattern for matching files. Remove forward slash
directory options.