working out async file loading and package saving