Library to provide generic file data cache functions