added error message
removed trash
remade scanning procedure
added skiped file