Implement set_subset, -s flag and open file with "with"