removed console logs. changed target to default to the options.files object if the target object is not found.