sort out the fileso