open file later after most error occurred