Make sure directories and files exist