Added directory scanning for proper files

Regex needs work, but adding a second match group for the region doesn't
work for some reason