main func except file info timeout