McBride's file handle example