load local files only if they exist