extract file utils