Apply fsm prefix to files.