getting files in order