added create_LDfiles.cpp