Added comments
Input from stream added
added file