Added targetFiles option to allow for in-file filename updating