working for file generation

Signed-off-by: Thomas Schubert <funthomas424242@gmail.com>