Cheesy fix to support last minute requirement of up to 30 files, need to revisit this approach entirely