file rename and automatic header detaction for sfh files