Fixed asset downloading and improved file downloading