smart file fix