chore(refactor): move get_general_file_type() to 1.10 deprecated libs