fix hardcoded file extension