Fix bug where importing a file was passing an array of identifiers rather than just the first