Cache aware fetching of files onto the file-system