Completed StateScanner in FileUtilities.cpp