improvements on audio file loading