sort out files in edit