Adds formatPath option

Adds the formatPath option and standardizes on the files array format.