Remove dead code from file creators