added get_suffix() and now file type could be detected by it extension