Ignore the actual dir.
Fixed bug if `files` option is an empty array. More tests.