very rough cut at separate files