solved synchronization problem when uploading files to ravenFS with apiKey authentication
Avoiding NRE when reading specific slices