add static imports for time
close input stream after reading
add first line to save "title"