Fix bad file call