Added open_file and open_str
Moved select_classes into open_str and did everything for align except align_mark