changed generation of hardcoded file path