correct the str
ensure the file is ther and empty