Moved files vector

Moved files vector into main() - no globals