old template, not needed anymore
fixed bug in class file template
all scenarios for file enabled
introduce two different read input actions
fixed read input
if statement was incorrect