Allow file extension to be passed in for lodash