Made a fix for the way we save files