display message when file can't be read, maybe the file needs to be closed before resizing, etc...?