fail if exist emty dir of file