c# determine file type without extension