BITMAG-1058: Ensure, that file-ids are validated.