more error checking and fixed playback so that it enables new file when Text saves