Add and implement tests for file storage and id