First step in converting to folder based gallery