File saving solved. Trying to debug file loading