fixed fileIO issue, add some message