Now errors if no directory was specified.