Add back in try/except for checking files