Remove the use of a temp file