added a check to see if the target file exists before including the parameters for it, added a target file in the test