simplified cache service getFileContent method