code: 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());
  }
docs: 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.