added load lamp files method