Add include/sl/slcc/file_functions.h slcc/get_file_type.c and related changes