replaced custom file modification hacks from controller and introduced file configurators