Add automatic population of assignments via `assignments' file

fix #3