Got rid of tempFile