fix typo in function name (tofilder-->tofolder) (closes #12)