Added get_length and get_info

Added methods to get total length of file, and get information
dictionary.