Using temporary directory more