Added get_file method