Distiguish between online and cached files

Mark all the cached and online files. Distinguish between what
has been downloaded and what not.