Track the right files. Also make platform optional and use string arrays