File Scanner Updated

Updated library reading
Added max retry to library sending