Close file, stub all methods