Cleaner inputFile fn