Takes a list of files and sorts them into another directory