Added proper require for tmp folder