Discovers all files with certain extension in given paths.
Discovers static files in given paths, returning JavaScript sources, mocks, specs and HTML templates, all grouped in lists.
Sorts JavaScript files in js_files into source files, mock files and spec files based on file extension.
Output: