checks for nonexistant files