Updated to code to only use temp files, still having problems with mediaPlayer