perhaps a try for IOError's?