add fopen command to shell