migrate to collection of files