Change output filename to index for easy require module import of all models at directory level.