updated file adn fileinput output