Arguments will be passed
No longer change the current dir and writer now open files if any