copy non local files to private storage first