Avoid file generation outside of target dir
Avoid file generation outside of target dir