retrieve file info fix, actually retrieves file info if already exists