now we are only generating 1 file. working correctly