Fixed issue with initializing an array
Added index file to verify directory