Fix missing file handling