replace online files with local ones