Fixing Loading from file