check_files function

Check Files Exist