Changed script to look for past groups file in parent directory
Filtered out blank lines
Filtered out blank lines
Made the prefs.txt file optional