Fixed issue with filename on next-server