Put cache files and result files in folders