Added multiple target file support