mime removed in get_file function