put file list builder into own file