Corrects file -e conditions