add message to show which tmp file is being used
add check if file has been encoded or not and format php