Split up existing file into separate files for each entity