Made file saves async compatible.