Handle missing files properly