Clutter removal

* pkmn_types had one function, moved it to analysis
* lib/files.cpp was doing nothing, so removed it