temp fix for file output