Removing message box when could not open file.