Fixed opening files, updated saving filepath