file move to the appropriate directory