stopped .. file from being generated when in root dir