Factor out files_links.h, constify
Factor out files_edit.h, constify