Fixed bug with duplicate temp files for single files, added getFriendlyName