Closes #22 - automatically init the fields when target is changed or files are joined