file generated was empty (fixed)