check if files exist