This is fine here. Usually, when we have file importing capabilities, we will use separate fixture files for test data. This project is not set up to use requirejs or anything similar, so this is  really the best place for the it.