Issue #825 refresh files by checking for existence