Adding gen file