added sep recognition from file extension