Refactor get to dice and implement get to access files by keys