Split out the Reference file into smaller categorised files.