Added method titleIsEmpty in ReadFromInput class, also implemented short
algorithm to determine files output name. Also added some documentation.