Not sure whether `dirname(__DIR__)` is correct though because there has to be a runtime directory created to store runtime files.