Create openexternal.cpp