Fixing code coverage testing.
Using File class temp file creator.