Pass current directory when we generate individual files