Added methods for saving savefiless