affile: WIP
affile: poll-file-changes refactor