Changed the code to read multiple lifecycle confiruration files from a directory, intstead of a single file