save each generated test class into file