async function getFiles(paths, options) {
	const files = (await getVinylFiles(paths, options))
		.map(file=>[file, ...getRequires(file, options)]);
	return (await promiseFlatten(files)).filter(file=>file).filter(filterDuplicateFiles());
}
async function getFiles(paths, options) {
	const files = (await getVinylFiles(paths, options))
		.map(file=>[file, ...getRequires(file, options)]);
	return (await promiseFlatten(files)).filter(file=>file).filter(filterDuplicateFiles());
}
async function getFiles ( paths , options ) { const files = ( await getVinylFiles ( paths , options ) ) . map ( file => [ file , ... getRequires ( file , options ) ] ) ; return ( await promiseFlatten ( files ) ) . filter ( file => file ) . filter ( filterDuplicateFiles ( ) ) ; }
Get all files and their dependencies on given path.

@param {string} paths							Path to get from.
@param {Object} options							Options object.
@returns {Promise.<VinylFile[]|string[]>}		The found files.
Get all files and their dependencies on given path .