Improved file recognition for general file types (.txt now picks up RIS for example)