Improve invalid file content