small refactor file_utils + added some specs + added helper hooks to identify transformers