When the directory doesn't exist it causes a stacktrace