fopen replaces open etc